package com.salt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Description
 * @Author salt
 * @Date 2023/4/17
 * @Version 1.0.1
 */
@EnableDiscoveryClient
@SpringBootApplication
public class SaltLogApp {

    public static void main(String[] args) {
        SpringApplication.run(SaltLogApp.class, args);
    }

    /*@PostConstruct
    public void init(){
        // 解决 netty 启动冲突问题
        // see Netty4Utils.setAvailableProcessors()
        System.setProperty("es.set.netty.runtime.available.processors", "false");
    }*/

}
